﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Jogo
{
    class Player
    {
        /* NOT YET TRANSLATED
         * 
         * 
         * 
         * 
package  {
	
	import flash.display.MovieClip;
	
	
	public class Player extends MovieClip {
		
		public var ACTION : int;
		
		public const STOPED : int = 1;
		public const MOVING : int = 2;
		
		public var DIRECTION : int;
		
		public const RIGHT : int  = 1;
		public const LEFT : int = 2;
		
		
		
		public function Player() {
			// constructor code
			DIRECTION = RIGHT;
			ACTION = STOPED;
		}
		 
		public function MoveToRight(): void {
			
			if(DIRECTION != RIGHT) {
				DIRECTION = RIGHT;
				ACTION = MOVING;
				gotoAndPlay(21);
			}
			
		}
		
		public function MoveToLeft(): void {
			
			if(DIRECTION != LEFT) {
				DIRECTION = LEFT;
				ACTION = MOVING;
				gotoAndPlay(21);
			}
			
		}
		
		
		public function Stop() : void {
			ACTION = STOPED;
			gotoAndStop(1);
		}
		
		public function Kick():void{
			gotoAndPlay(52);
		}
		
		public function Special():void{
			gotoAndPlay(40);
		}
		
		public function Punch():void{
			gotoAndPlay(63);
		}
		
		public function Block():void{
			gotoAndStop(39);
		}//End Block
	}//CLOSE player CLASS
	
}//CLOSE PACKAGE

         * 
         * 
         * /
         */
    }
}
